home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / content / nsIXSLTProcessorObsolete.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  97 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIXSLTProcessorObsolete.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIXSLTProcessorObsolete_h__
  6. #define __gen_nsIXSLTProcessorObsolete_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMNode; /* forward declaration */
  18.  
  19. class nsIDOMDocument; /* forward declaration */
  20.  
  21.  
  22. /* starting interface:    nsIXSLTProcessorObsolete */
  23. #define NS_IXSLTPROCESSOROBSOLETE_IID_STR "3fbff728-2d20-11d3-aef3-00108300ff91"
  24.  
  25. #define NS_IXSLTPROCESSOROBSOLETE_IID \
  26.   {0x3fbff728, 0x2d20, 0x11d3, \
  27.     { 0xae, 0xf3, 0x00, 0x10, 0x83, 0x00, 0xff, 0x91 }}
  28.  
  29. /**
  30.  * DEPRECATED! Don't use this interface! Use nsIXSLTProcessor instead!!
  31.  */
  32. class NS_NO_VTABLE nsIXSLTProcessorObsolete : public nsISupports {
  33.  public: 
  34.  
  35.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IXSLTPROCESSOROBSOLETE_IID)
  36.  
  37.   /* void transformDocument (in nsIDOMNode aSourceDOM, in nsIDOMNode aStyleDOM, in nsIDOMDocument aOutputDOC, in nsISupports aObserver); */
  38.   NS_IMETHOD TransformDocument(nsIDOMNode *aSourceDOM, nsIDOMNode *aStyleDOM, nsIDOMDocument *aOutputDOC, nsISupports *aObserver) = 0;
  39.  
  40. };
  41.  
  42. /* Use this macro when declaring classes that implement this interface. */
  43. #define NS_DECL_NSIXSLTPROCESSOROBSOLETE \
  44.   NS_IMETHOD TransformDocument(nsIDOMNode *aSourceDOM, nsIDOMNode *aStyleDOM, nsIDOMDocument *aOutputDOC, nsISupports *aObserver); 
  45.  
  46. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  47. #define NS_FORWARD_NSIXSLTPROCESSOROBSOLETE(_to) \
  48.   NS_IMETHOD TransformDocument(nsIDOMNode *aSourceDOM, nsIDOMNode *aStyleDOM, nsIDOMDocument *aOutputDOC, nsISupports *aObserver) { return _to TransformDocument(aSourceDOM, aStyleDOM, aOutputDOC, aObserver); } 
  49.  
  50. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  51. #define NS_FORWARD_SAFE_NSIXSLTPROCESSOROBSOLETE(_to) \
  52.   NS_IMETHOD TransformDocument(nsIDOMNode *aSourceDOM, nsIDOMNode *aStyleDOM, nsIDOMDocument *aOutputDOC, nsISupports *aObserver) { return !_to ? NS_ERROR_NULL_POINTER : _to->TransformDocument(aSourceDOM, aStyleDOM, aOutputDOC, aObserver); } 
  53.  
  54. #if 0
  55. /* Use the code below as a template for the implementation class for this interface. */
  56.  
  57. /* Header file */
  58. class nsXSLTProcessorObsolete : public nsIXSLTProcessorObsolete
  59. {
  60. public:
  61.   NS_DECL_ISUPPORTS
  62.   NS_DECL_NSIXSLTPROCESSOROBSOLETE
  63.  
  64.   nsXSLTProcessorObsolete();
  65.  
  66. private:
  67.   ~nsXSLTProcessorObsolete();
  68.  
  69. protected:
  70.   /* additional members */
  71. };
  72.  
  73. /* Implementation file */
  74. NS_IMPL_ISUPPORTS1(nsXSLTProcessorObsolete, nsIXSLTProcessorObsolete)
  75.  
  76. nsXSLTProcessorObsolete::nsXSLTProcessorObsolete()
  77. {
  78.   /* member initializers and constructor code */
  79. }
  80.  
  81. nsXSLTProcessorObsolete::~nsXSLTProcessorObsolete()
  82. {
  83.   /* destructor code */
  84. }
  85.  
  86. /* void transformDocument (in nsIDOMNode aSourceDOM, in nsIDOMNode aStyleDOM, in nsIDOMDocument aOutputDOC, in nsISupports aObserver); */
  87. NS_IMETHODIMP nsXSLTProcessorObsolete::TransformDocument(nsIDOMNode *aSourceDOM, nsIDOMNode *aStyleDOM, nsIDOMDocument *aOutputDOC, nsISupports *aObserver)
  88. {
  89.     return NS_ERROR_NOT_IMPLEMENTED;
  90. }
  91.  
  92. /* End of implementation class template. */
  93. #endif
  94.  
  95.  
  96. #endif /* __gen_nsIXSLTProcessorObsolete_h__ */
  97.